package com.cloudcentral.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloudcentral.entity.Detect;
import com.cloudcentral.entity.query.DetectQuery;
import com.cloudcentral.entity.vo.DetectDetailVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 探测任务任务表 Mapper 接口
 * </p>
 *
 * @author Administrator
 * @since 2023-11-23
 */
public interface DetectMapper extends BaseMapper<Detect> {
  IPage<DetectDetailVO> listPage(Page<DetectDetailVO> page, @Param("query") DetectQuery query);

  DetectDetailVO selectDetailById(@Param("id") Long id);
}
